package org.op.editor.doc;

/**
 *  Handles the standard cut-copy-paste actions
 * 
 * @author david.peters
 *
 */
public interface CuCoPaController {

	/**
	 *  Grabs the selected text of the current editor and copies to the clipboard (and erases text from the document)
	 */
	public void cutToClipboard();
	
	/**
	 *  Grabs the selected text of the current editor and copies to the clipboard  (leaves it in the document)
	 */
	public void copyToClipboard();
	
	/**
	 *  Pastes the text from the windows clipboard into the document of the current editor (at the location of the carat)
	 *  
	 */
	public void pasteFromClipboard();
	
	/**
	 *  Clears all text from the currently edited document
	 */
	public void clearAll();
	
	/**
	 *   Selects all text from the currently editor document
	 */
	public void selectAll();
}
